import request from '@/utils/request'

// 查询远动遥信转发列表
export function listYx_trans_yd(query) {
  return request({
    url: '/scada/yx_trans_yd/list',
    method: 'get',
    params: query
  })
}

// 查询远动遥信转发详细
export function getYx_trans_yd(id) {
  return request({
    url: '/scada/yx_trans_yd/' + id,
    method: 'get'
  })
}

// 新增远动遥信转发
export function addYx_trans_yd(data) {
  return request({
    url: '/scada/yx_trans_yd',
    method: 'post',
    data: data
  })
}

// 修改远动遥信转发
export function updateYx_trans_yd(data) {
  return request({
    url: '/scada/yx_trans_yd',
    method: 'put',
    data: data
  })
}

// 删除远动遥信转发
export function delYx_trans_yd(id) {
  return request({
    url: '/scada/yx_trans_yd/' + id,
    method: 'delete'
  })
}
